{#  显示闪现的所有信息   #}
{#<div class="flash" style="z-index: auto;position: absolute;width: 100%">#}
<div class="flash" >
    {% for msg in get_flashed_messages(category_filter='ok') %}
        <div class="alert alert-success alert-dismissible" role="alert">
            <button type="button" class="close" data-dismiss="alert" aria-label="Close"><span
                    aria-hidden="true">&times;</span>
            </button>
            <strong>Success!</strong> {{ msg }}.
        </div>
    {% endfor %}
    {% for msg in get_flashed_messages(category_filter='error') %}
        <div class="alert alert-warning alert-dismissible" role="alert">
            <button type="button" class="close" data-dismiss="alert" aria-label="Close"><span
                    aria-hidden="true">&times;</span>
            </button>
            <strong>Warning!</strong> {{ msg }}.
        </div>
    {% endfor %}
</div>
{#  <script>$(".flash").fadeOut(3000);console.log('$(".flash").fadeOut(3000);')</script>#}